﻿using System;
using ConsoleApp.Util;

namespace ConsoleApp.Infrastructure.Rmq
{
    public class RmqLogHelper
    {

        static RmqLogHelper()
        {
        }

        public static void WriteInfo(string info)
        {
            (DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "\r\n" + info).WriteInfoLine();
        }

        public static void WriteError(string error)
        {
            (DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "\r\n" + error).WriteErrorLine();
        }
    }
}
